import Vue from "vue"

import vuex, { Store } from "vuex"

//引入模块化的store

import cart from "./cart"
import product from "./product"
import comment from "./comment"

Vue.use(vuex)

export default new vuex.Store({
    state:{},
    mutations: {
        
    },
    actions: {
        
    },
    getters: {
        
    },
    modules: {
        cart,
        product,
        comment
    },
    Plugins:[]
})